//
//  ZHMCustomViewController.m
//  UIMenuController
//
//  Created by zhm on 17/9/27.
//  Copyright © 2017年 yibai. All rights reserved.
//

#import "ZHMCustomViewController.h"
#import "ZHMMenuLabel.h"

@interface ZHMCustomViewController ()
@property (strong, nonatomic) IBOutlet ZHMMenuLabel *label;

@property (strong, nonatomic) IBOutlet UIWebView *webView;

@end

@implementation ZHMCustomViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    
    [self.webView loadHTMLString:@"<div style=\"color:red;\">这是一个webview控件</div>" baseURL:nil];
    
    self.label.text = @"这是一个label控件";
    
    
    
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{

    [self.view endEditing:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
